package test;


	
	public class FOA2 implements Comparable<FOA2> {

		String flu;
		double f_lat;
		double f_lon;
		long f_ts;
		String plsu;
		int imsi;
		long celllac;
		long p_ts;
		double p_lat;
		double p_lon;
		double r;
		double dist;
		
		public FOA2(String f, double fa, double fo, long ft, String p, int i, long c, long pt,double pla, double plo, double ra, double di ){
			
			this.flu= f;
			this.f_lat = fa;
			this.f_lon = fo;
			this.f_ts = ft;
			this.plsu = p;
			this.imsi = i;
			this.celllac = c;
			this.p_ts = pt;
			this.p_lat = pla;
			this.p_lon = plo;
			this.r= ra;
			this.dist = di;
			
		}
		public int compareTo(FOA2 foa){
			return plsu.compareTo(foa.plsu);
		}
		public String toString(){
			return flu+","+f_lat+","+f_lon+","+f_ts+","+plsu+","+imsi+","+celllac+","+p_ts+","+p_lat+","+p_lon+","+r+","+dist;
		}
}
